package com.qf.day01;

import java.util.Scanner;




public class Triangle {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入底边长度");
        double num = scanner.nextDouble();
      // System.out.println("你输入的底边长度为"+num);

        System.out.println("请输入高度");
        double num1 = scanner.nextDouble();
      //  System.out.println("你输入的高度为"+num1);

        double sum = (num*num1)/2;
        System.out.println("面积为"+sum);
    }
}